home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.txt / 000332_fdc@panix.com_Mon Mar 22 12:28:49 2010.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: reader1.panix.com!panix!not-for-mail
  2. From: Frank da Cruz <fdc@panix.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: can't ftp from AMD64 machine, works fine on i386
  5. Date: Mon, 22 Mar 2010 16:14:26 +0000 (UTC)
  6. Organization: PANIX Public Access Internet and UNIX, NYC
  7. Lines: 32
  8. Message-ID: <slrnhqf5r2.j4f.fdc@panix3.panix.com>
  9. References: <bd6k77-aao.ln1@ppp121-45-136-118.lns11.adl6.internode.on.net>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: panix3.panix.com
  12. X-Trace: reader1.panix.com 1269274466 1338 166.84.1.3 (22 Mar 2010 16:14:26 GMT)
  13. X-Complaints-To: abuse@panix.com
  14. NNTP-Posting-Date: Mon, 22 Mar 2010 16:14:26 +0000 (UTC)
  15. User-Agent: slrn/0.9.8.0 (NetBSD)
  16. Xref: panix comp.protocols.kermit.misc:15935
  17.  
  18. On 2010-03-22, Arthur Marsh <arthur.marsh@internode.on.net> wrote:
  19. : Hi, on C-Kermit 9.0.299 Alpha.03, 19 Mar 2010, for Linux+SSL (64-bit)
  20. : built on Debian on AMD64 using "make linux+openssl+zlib+shadow+pam"
  21. :
  22. : I get:
  23. :
  24. : C-Kermit>ftp ftp.columbia.edu
  25. : ftp: connect: Network is unreachable
  26. : ?Can't FTP connect to ftp.columbia.edu:ftp
  27. :
  28. : but from i386 [it works]
  29. :
  30. Thanks for noticing, I verified this locally.  Kermit FTP from RHEL5 
  31. on i386 works OK, but on 64-bit hardware (ia64 in this case) it doesn't
  32. work.  That's what Alpha tests are for!
  33.  
  34. : How should I start to debug this?
  35. :
  36. If you're up for taking a look at the ftp_hookup() function
  37. in ckcftp.c, the offending statement is:
  38.  
  39.  connect(s, (struct sockaddr *)&hisctladdr, sizeof (hisctladdr))
  40.  
  41. around line 14715.  Clearly something is amiss with the definition
  42. or setup of the structs in this case.  In fact, now that you mention
  43. it, I see that the same thing happens on Mac OS X 10.6.2, also 64-bit.
  44.  
  45. I'll try to get to it pretty soon, but I have a huge backlog so "soon" 
  46. might be a few weeks; if anybody wants to pitch in before that, be
  47. my guest!
  48.  
  49. - Frank